package aryn.framework.examples.reflection;

public class Animal {
	
	private static int count = 0;
	protected String name;
	int age;
	public boolean isHappy;
	
	public Animal() {
		count++;
	}

	public Animal(String name, int age, boolean isHappy) {
		this.name = name;
		this.age = age;
		this.isHappy = isHappy;
	}

	protected void foo() {}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	protected int getAge() {
		return age;
	}

	protected void setAge(int age) {
		this.age = age;
	}

	public boolean isHappy() {
		return isHappy;
	}

	public void setHappy(boolean isHappy) {
		this.isHappy = isHappy;
	}

	public static int getCount() {
		return count;
	}
}
